package com.zoro.barn.commons.db.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于标记mybatis 的mapper接口，防止其他不是 mapper接口的接口被扫描
 * 需要在启动类上加上标记 @Scan(annotationClass=MybatisMapper.class)
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface MybatisMapper {
}
